/*****************************************************************************
 * version.h: Copyright 2022 (c) CoreLink
 * Desc:
 *
 * Author: Flying (weekend@111.com)
 * Date: 2022-11-15 22:45:52
 * Notes:
 *
 * ---------------------------------------------------------------------------
 * LastEditors:
 * LastEditTime:
 *****************************************************************************/

#ifndef VERSION_H_
#define VERSION_H_

#ifdef __cplusplus
extern "C"
{
#endif
    /*------------------------------- Includes ----------------------------------*/

    /*----------------------------- Global Defines ------------------------------*/
#define __TO_STRING(XXX) #XXX
#define _TO_STRING(XXX) __TO_STRING(XXX)
/*版本号修改*/
#define CL_VERSION_MAN_NAME "CL"
#define CL_VERSION_SDK 1
#define CL_VERSION_MAJOR 1
#define CL_VERSION_MINOR 0
#define CL_VERSION_YYMMDD 20250918
#define CL_VERSION_EX "dev"
/****/

#define CL_VERSION_STRING "CL_V" _TO_STRING(CL_VERSION_SDK) "_" CL_VERSION_MAN_NAME "_" _TO_STRING(CL_VERSION_MAJOR) "_" _TO_STRING(CL_VERSION_MINOR)
#define CL_VERSION_STRING_FULL (CL_VERSION_STRING "_" _TO_STRING(CL_VERSION_YYMMDD) "_" CL_VERSION_EX)
    /*----------------------------- Global Typedefs -----------------------------*/

    /*----------------------------- External Variables --------------------------*/

    /*------------------------ Global Function Prototypes -----------------------*/
    static inline const char *cl_get_version_string()
    {
        return CL_VERSION_STRING;
    }
    static inline const char *cl_get_version_full_string()
    {
        return CL_VERSION_STRING_FULL;
    }
#ifdef __cplusplus
}
#endif
#endif // VERSION_H_
